package org.aeon.gamechatnest.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 聊天消息添加请求
 *
 * @author : Qik 2024/5/13 17:26
 */
@Data
@Schema(description = "聊天消息添加请求", name = "ChatMessageAddRequest")
public class ChatMessageAddRequest implements Serializable {

    /**
     * 目标对话id
     */
    @Schema(description = "目标对话id", name = "targetId")
    private Long targetId;

    /**
     * 信息内容
     */
    @Schema(description = "信息内容", name = "content")
    private String content;

    /**
     * 回复信息id
     */
    @Schema(description = "回复信息id", name = "reply")
    private String reply;

    /**
     * 目标标识符 0：私信，1：频道
     */
    private Integer targetIdentifier;

    @Serial
    private static final long serialVersionUID = 1L;
}
